package com.example.qx.lei;

import java.util.ArrayList;
import java.util.List;

public class itemxiaoxi {
    private static itemxiaoxi  instance;
    private List<liaotianrenheneirong> list=new ArrayList<>();
    private zhangmi zhangmi= com.example.qx.lei.zhangmi.getInstance();
    public itemxiaoxi(){

    }
    public static  synchronized itemxiaoxi instance(){
        if(instance==null)
            instance=new itemxiaoxi();
        return instance;
    }

    public List<liaotianrenheneirong> getList() {
        return list;
    }

    public void setList(List<liaotianrenheneirong> list) {
        this.list = list;
    }
    public void add(liaotianrenheneirong ln){
        list.add(ln);
    }
}
